package com.xy.job.admin.domain

import jakarta.persistence.Column
import jakarta.persistence.Entity
import jakarta.persistence.Id
import jakarta.persistence.Table

@Entity
@Table(name = "job_lock")
class JobLock(
    @Id
    @Column(name = "lock_name", unique = true, updatable = false)
    var lockName: String? = null,

    @Column(name = "owner")
    var owner: String? = null,
)